package com.baseDemo.web.dao.systeminfo.impl;


import org.springframework.stereotype.Repository;

import com.baseDemo.web.dao.systeminfo.SystemInfoEntityDao;
import com.baseDemo.web.entity.SystemInfoEntity;
import com.share.hibernate.baseDaoSupport.impl.BaseDaoHibernateSupport;
@Repository
public class SystemInfoEntityDaoHibernate extends BaseDaoHibernateSupport<SystemInfoEntity>
		implements SystemInfoEntityDao {

	@Override
	public Integer getPageTotal() {
		String HQL = " SELECT COUNT(id) FROM SystemInfoEntity as si ";
		return this.getAgg(HQL);
	}

}
